package com.jereh.zk.oa.service.impl;

import com.jereh.zk.oa.dao.EmpDao;
import com.jereh.zk.oa.dao.impl.EmpDaoImpl;
import com.jereh.zk.oa.entity.Voucher;
import com.jereh.zk.oa.entity.VoucherDetail;
import com.jereh.zk.oa.service.EmpService;

public class EmpServiceImpl implements EmpService {
	private EmpDao ed=new EmpDaoImpl();
	public int addVoucher(Voucher v) {
		int ret=ed.insertVoucher(v);
		return ret;
	}

	public int addVoucherDetail(VoucherDetail vd) {
		int ret=ed.insertVoucherDetail(vd);
		return ret;
	}

	public int findVoucherId() {
		int ret=ed.selectVoucherId();
		return ret;
	}

}
